<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html;charset=utf-8;" />

<link rel="stylesheet" type="text/css" href="/dqchat/Public/css/inform.css"/>

<style>

.detail{

border:1px solid #C8C8C8;width:593px;border-collapse:collapse;border:none;text-align: center;font-size:12px;color:#646464;font-family:微软雅黑;"

}



</style>

<script type="text/javascript" src="/dqchat/Public/js/jquery-1.11.0.min.js" ></script>

<script type="text/javascript" src="/dqchat/Public/js/Calendar3.js" ></script>

</head>

<script type="text/javascript">

	$(function(){

	

		$('#submitkey').click(function(){

			$('#search').submit();



		});

	})

</script>

<body>
<div class="main_wrap">
<div class="zt" id="zt">
	<script>


$(function(){
	Height = $('#zt').height();
	$('.leftnavi').height(Height);
	<?php  if(!empty($_GET['menu'])){ ?>
		id=<?php echo I('get.menu');?>;	
		$('.item').eq(id-1).addClass('chover');
	<?php }?>
	$('.ziti2 li').hover(function(){
		if(!$(this).hasClass('chover')){
		 $('.ziti2 li').removeClass('hover');
		 $(this).addClass('hover');
		 }
	},function(){
	$(this).removeClass('hover');
	
	})
	$('.menu').click(function(){
	   if($(this).next('.ziti2').css("display")=='none'){
				$(this).next('.ziti2').css("display",'block');
				$(this).css('background-image','url("/dqchat/Public/img/tb1.jpg")');					
		}else{
				$(this).next('.ziti2').css("display",'none');
				$(this).css('background-image','url("/dqchat/Public/img/tb.jpg")');					
			}	
		})
		


})
</script>

	<div class="leftnavi">
		<div class="yh">
			<div class="yh_head">
				<div class="yh_pic" style="_border:none;">
					<img src="/dqchat/Public/img/head/<?php echo I('session.cidiograph');?>-1.png" width="56" height='56'/>
				</div>
				<div class="yh_account">
					<p class="yh_nic"><?php echo I('session.calias');?></p>
					<p class="yh_id">ID：<?php echo I('session.menuid');?></p>
				</div>
				<div style="clear:both"></div>
			</div>					
		</div>
		<div>
			<div>
				<ul style="background-color: #C8C8C8;">
					<li onclick="window.location.href='<?php echo U('User/index');?>'" style="width:101%;cursor:pointer;"><img src="/dqchat/Public/img/zhanghu.jpg" style="position:relative;left:10px;top:4px;"/><a class="ziti1" style="color:black"><strong>账户信息</strong></a></li>
				</ul>
			</div>
			<div class="menu"><img src="/dqchat/Public/img/fangjian.jpg" style="position:relative;left:10px;top:4px;"/><a class="ziti1">房间管理</a></div>
			<ul class="ziti2">
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Room/index?menu=1');?>">我的房间</li>
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Room/wheat?menu=2');?>">上麦记录</li>
			</ul>
			<div class="menu"><img src="/dqchat/Public/img/liwu.jpg" style="position:relative;left:10px;top:4px;"/><a class="ziti1">礼物管理</a></div>
			<ul class="ziti2">
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Gift/index?menu=3');?>">送出的礼物</li>
				<li  class="item" onclick=javascript:window.location.href="<?php echo U('Gift/mygift?menu=4');?>">收到的礼物</li>
			</ul>
			<div class="menu"><img src="/dqchat/Public/img/zijin.jpg" style="position:relative;left:10px;top:4px;"/><a class="ziti1">资金管理</a></div>
			<ul class="ziti2">
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Money/index?menu=5');?>">金币流水</li>
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Money/spendMoney?menu=6');?>">划币管理</li>
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Money/mybox?menu=7');?>">我的保险箱</li>
			</ul>
			<div class="menu"><img src="/dqchat/Public/img/anquan.jpg" style="position:relative;left:10px;top:4px;"/><a class="ziti1">账户安全</a></div>
			<ul class="ziti2">
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Accountsafe/resetpsw?menu=8');?>">修改密码</li>
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Accountsafe/index?menu=9');?>">设置密保</li>
				<li class="item" onclick=javascript:window.location.href="<?php echo U('Accountsafe/loginRecord?menu=10');?>">登录记录</li>
			</ul>
		</div>
	</div>
	
	<div class="yinfor">
		<div class="center_wrap">
			<div class="center_title"><h1>上麦记录</h1></div>
			<table style="margin-left:15px;width:100%;height:55px;font-size:14px;color:#646464;font-family:微软雅黑;">

					<tr style="colspan=2;height:25px;padding-top:10px"><td align="left"><strong>上麦时间明细</a></strong></td></tr>				
			</table>



			<table class="gift_detail" cellpadding=0 cellspacing=0>

			<tr class="detailtr"><td style="border-left:1px solid #C8C8C8;"><strong>房间ID</strong></td><td><strong>上麦时间</strong></td><td><strong>在麦时长（分钟）</strong></td></td></tr>



			<?php if(empty($data)): ?><tr height='33'><td colspan=6>无记录</td></tr><?php endif; ?>


			<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr height='33'><td><?php echo ($vo["nroomid"]); ?></td><td><?php echo date('Y-m-d h:i:s',strtotime($vo['dtime']));?></td><td><?php echo ($vo["nminute"]); ?></td></tr><?php endforeach; endif; else: echo "" ;endif; ?>



			</table>

			<?php echo ($list); ?>	
			
		</div>


	</div>

</div>
</div>
</body>
</html>















</body>

</html>